![]() | Documentation Contents |
close()
method of
ServerSocket and DatagramSocket were synchronized
. The
result was that if one thread were blocked indefinitely in
DatagramSocket.receive() or ServerSocket.accept(), another thread
couldn't break the blocking thread out by calling close(). This is
fixed in JDK1.1 by making the close() methods unsynchronized.Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved. Please send comments using this Feedback page. |
![]() Java Technology |